<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="../common/common-jstl.jspf" %>
<%@ include file="../common/common-js.jspf" %>
<!DOCTYPE html >
<html lang="en">
<head>
    <base href="${pageContext.request.contextPath }/">
    <meta charset="UTF-8">
    <title>登录</title>
    <style type="text/css">
        fieldset {
            margin: 10% auto;
            width: 240px;
        }
    </style>
</head>
<body>
<fieldset>
    <legend>登录</legend>
    <form action="loginInfoController?flag=login" method="post">
        <p>账号:<input type="text" name="account"/></p>
        <p>密码:<input type="password" name="password"/></p>
        <p>角色类型:
            <select name="roleId">
                <option value="-1">--请选择角色--</option>
                <c:forEach items="${roleList }" var="role">
                    <option value="${role.roleId }">${role.roleName }</option>
                </c:forEach>
            </select>
        </p>
        <p><input type="submit" value="   登  录   "></p>
    </form>
</fieldset>
</body>
</html>